'use strict'

const Controller = require('egg').Controller

class ServeController extends Controller {
  async index() {
    const { ctx, app } = this
	const res = await app.mysql.select('article')
	console.log(res)
    ctx.body = 'this is api'
  }
}

module.exports = ServeController